package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.List;

/**
 * @author lyh
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "复合表头展示对象")
@Data
public class CompoundHeadVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "名称")
    private String name;

    @ApiModelProperty(notes = "code")
    private String code;

    @ApiModelProperty(notes = "是否选中")
    private Boolean selected;

    @ApiModelProperty(notes = "子项")
    private List<CompoundHeadVO> childList;
}
